package cn.lj.org.domain;

import cn.lj.base.domian.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date registerTime = new Date();
    /*0：提交 1 待审核 2 审核通过 3：驳回  -1：拒绝*/
    private Integer state = 1;
    private String address;
    private String logo;
    private Long admin_id;
    private Employee admin;
}
